package com.yixing.tech.common.entity;

import lombok.Data;
import org.bson.types.ObjectId;

import java.io.Serializable;
import java.util.Date;

/**
 * @author yixing tech
 * @since 1.0.0
 */
@Data
public class BaseEntity implements Serializable {

    private ObjectId _id;

    private Date createTime = new Date();
    private String tenantId;
    private String createName;
    private String createId;
    private int isDelete = 0;

}
